Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agile #103

Open
wants to merge 14 commits into
base: 203
Choose a base branch
from
Open

Agile #103

wants to merge 14 commits into from

Conversation

zelodyc
Copy link

@zelodyc zelodyc commented Mar 4, 2021

If you still accept pull requests, I would like to submit some work on issue #81 (update to new agile board API).

This includes an updated model for the new Agile board API, and a service to retrieve Agile boards, with an option for verbosity of the retrieved data (using the API described at https://www.jetbrains.com/help/youtrack/standalone/resource-api-agiles.html#get_all-Agile-method). For now it's limited to that, but the infrastructure is in place to add more.

I added some attributes (namely KnownTypeAttribute and VerboseAttribute) to help with:

  • the deserialization of the JSON objects for polymorphic fields (see KnownTypeConverter & KnownTypeListConverter),
  • and the generation of the field parameter in the REST calls (see FieldSyntaxEncoder).

Please let me know if that approach is acceptable.

If possible, I would like to add more to that shortly (get agile board by ID, filters, and also some additional services to work with sprints).

Thanks for your time and consideration

zelodyc added 14 commits March 2, 2021 00:42
…'top' and 'skip' properties in URL. Add tests to verify retrieval in batches
…using ConnectionStub. Added check of requests number for multiple fetches in batches. Correct handling of and paramaters (support any order). Add multiple flavors of agile boards to tests.
@lukeskinner
Copy link

@zelodyc I'm not related to this project but I wanted to say thanks for the effort you put into this PR!

For anyone who wants to use Agile Boards/Sprints without waiting on JetBrains you can take the changes in the source branch (it's new files only) and copy them into your application - I didn't change the namespaces but it means you can use this new functionality until this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants